package tiger.android_hierarchy_view;

import java.io.Serializable;

/**
 * 定义经纪人的实体类
 * 
 * @author 张姣发
 * 
 */
public class BrokerEntity implements Serializable {

	private String mBrokerName = "";
	private String mBrokerId = "";
	private String mBrokerAlphabet = "";
	private boolean mIsBrokerSelected = false;
	private String mAvatarUrl = "";
	private String gender = "";

	// 增加两个统计的变量
	// 对应的是跟进的客户的总量
	private int mFollowUpCustomerNum = 0;
	// 对应的是本周报备的数目
	private int mReportWeekCount = 0;

	// 所属部门信息
	private String departmentName;
	private String departmentId;
	private long groupId;

	public BrokerEntity() {

	}

	public BrokerEntity(String mBrokerName, String mBrokerId) {
		this.mBrokerName = mBrokerName;
		this.mBrokerId = mBrokerId;
	}

	public void setFollowUpCustomerNum(int followup) {
		mFollowUpCustomerNum = followup;
	}

	public int getFollowUpCustomerNum() {
		return mFollowUpCustomerNum;
	}

	public void setReportWeekCount(int report) {
		mReportWeekCount = report;
	}

	public int getReportWeekCount() {
		return mReportWeekCount;
	}

	public void setAvatarUrl(String avatarUrl) {
		mAvatarUrl = avatarUrl;
	}

	public String getAvatarUrl() {
		return mAvatarUrl;
	}

	/**
	 * 设置经纪人姓名的首字母
	 * 
	 * @param alphabet
	 */
	public void setBrokerAlphabet(String alphabet) {
		mBrokerAlphabet = alphabet;
	}

	/**
	 * 获取经纪人的姓名的首字母
	 * 
	 * @return
	 */
	public String getBrokerAlphabet() {
		return mBrokerAlphabet;
	}

	/**
	 * 设置当前的经纪人是否被选中
	 * 
	 * @param isselected
	 */
	public void setIsBrokerSelected(boolean isselected) {
		mIsBrokerSelected = isselected;
	}

	/**
	 * 获取当前的经纪人是否被选中的状态
	 * 
	 * @return
	 */
	public boolean getIsBrokerSelected() {
		return mIsBrokerSelected;
	}

	/**
	 * 设置经纪人的姓名
	 * 
	 * @param brokername
	 */
	public void setBrokerName(String brokername) {
		mBrokerName = brokername;
	}

	/**
	 * 获取经纪人的姓名
	 * 
	 * @return
	 */
	public String getBrokerName() {
		return mBrokerName;
	}

	/**
	 * 设置经纪人的编号
	 * 
	 * @param brokerid
	 */
	public void setBrokerId(String brokerid) {
		mBrokerId = brokerid;
	}

	/**
	 * 获取经纪人的编号
	 * 
	 * @return
	 */
	public String getBrokerId() {
		return mBrokerId;
	}



	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}

	public String getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(String departmentId) {
		this.departmentId = departmentId;
	}

	public long getGroupId() {
		return groupId;
	}

	public void setGroupId(long groupId) {
		this.groupId = groupId;
	}

}
